Skip to content

Commit

Permalink
Merge pull request #35 from ElrondNetwork/merge-dev-into-feat-schedul…
Browse files Browse the repository at this point in the history
…ed-sc-execution-22.11.2021

Merge dev into feat scheduled sc execution 22.11.2021
  • Loading branch information
AdoAdoAdo authored Dec 7, 2021
2 parents ec72ad9 + d80c324 commit f0d0b89
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions data/api/apiESDTSupply.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package api

// ESDTSupply represents the structure for esdt supply that is returned by api routes
type ESDTSupply struct {
InitialMinted string `json:"initialMinted"`
Supply string `json:"supply"`
Burned string `json:"burned"`
Minted string `json:"minted"`
}
4 changes: 4 additions & 0 deletions data/vm/callType.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ const (
// ESDTTransferAndExecute means that there is a smart contract execution after the ESDT transfer
// this is needed in order to skip the check whether a contract is payable or not
ESDTTransferAndExecute

// ExecOnDestByCaller means that the call is an invocation of a built in function / smart contract from
// another smart contract but the caller is from the previous caller
ExecOnDestByCaller
)

0 comments on commit f0d0b89

Please sign in to comment.