Skip to content

Commit

Permalink
Update EVM BridgeAccessor entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Apr 10, 2024
1 parent de93b7b commit 0259c8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions cadence/contracts/standards/EVM.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ contract EVM {
access(Bridge)
fun depositNFT(
nft: @{NonFungibleToken.NFT},
to: EVM.EVMAddress,
to: EVMAddress,
feeProvider: auth(FungibleToken.Withdraw) &{FungibleToken.Provider}
)

Expand All @@ -505,17 +505,17 @@ contract EVM {
): @{NonFungibleToken.NFT}

/// Endpoint enabling the bridging of a fungible token vault to EVM
access(EVM.Bridge)
access(Bridge)
fun depositTokens(
vault: @{FungibleToken.Vault},
to: EVM.EVMAddress,
to: EVMAddress,
feeProvider: auth(FungibleToken.Withdraw) &{FungibleToken.Provider}
)

/// Endpoint enabling the bridging of fungible tokens from EVM
access(EVM.Bridge)
access(Bridge)
fun withdrawTokens(
caller: auth(EVM.Call) &EVM.CadenceOwnedAccount,
caller: auth(Call) &CadenceOwnedAccount,
type: Type,
amount: UInt256,
feeProvider: auth(FungibleToken.Withdraw) &{FungibleToken.Provider}
Expand Down
Loading

0 comments on commit 0259c8f

Please sign in to comment.