CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot deploy invalid contract
--> edbf31fcd7ad2fa16c4892d71c02cb91fd8d8fa68f95023704f98275a65fbcb5:31:4
|
31 | deployer.contracts.add(
32 | name: contractName,
33 | code: contractCode.decodeHex(),
34 | _paymentTokenInfo: ToucansTokens.TokenInfo(ptContractName, ptContractAddress, ptSymbol, ptReceiverPath, ptPublicPath, ptStoragePath),
35 | _editDelay: editDelay,
36 | _minting: minting,
37 | _initialTreasurySupply: initialTreasurySupply,
38 | _maxSupply: maxSupply,
39 | _extra: extra
40 | )
| ^
error: expected identifier, got decimal integer
--> 2401a8c20d1ca932.7XaiStakeTokens:9:21
|
9 | access(all) contract 7XaiStakeTokens: FungibleToken {
| ^