Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ardanlabs/smartcontract
/ functions
Functions
346 in github.com/ardanlabs/smartcontract
⨍
Functions
346
◇
Types & classes
95
↓ 1 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
app/signature/contract/go/verify/verify.go:182
↓ 1 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
app/book/contract/go/book/book.go:186
↓ 1 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
app/bank/proxy/contract/go/bank/bank.go:177
↓ 1 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
app/bank/proxy/contract/go/bankapi/bankapi.go:177
↓ 1 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
app/bank/single/contract/go/bank/bank.go:177
↓ 1 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
app/basic/contract/go/basic/basic.go:177
↓ 1 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
app/signature/contract/go/verify/verify.go:177
↓ 1 callers
Method
WatchEventTransfer
WatchEventTransfer is a free log subscription operation binding the contract event 0x64af04e507117cfe690abc373ad27eb3c6a0b3202af0972ff3dc089e501e3a45.
app/simplecoin/contract/go/simplecoin/simplecoin.go:729
↓ 1 callers
Method
Withdraw
Withdraw is a paid mutator transaction binding the contract method 0x57ea89b6. Solidity: function Withdraw() payable returns()
app/book/contract/go/book/book.go:547
↓ 1 callers
Method
Withdraw
Withdraw will move all the account's balance in the contract, to the account's wallet.
app/book/pkg/book/book.go:387
↓ 1 callers
Method
Withdraw
Withdraw is a paid mutator transaction binding the contract method 0x57ea89b6. Solidity: function Withdraw() payable returns()
app/bank/proxy/contract/go/bankapi/bankapi.go:350
↓ 1 callers
Function
encodeForSolidity
encodeForSolidity will take the arguments and pack them into a byte array that conforms to the solidity abi.encode function.
app/signature/contract/go/verify/verify_test.go:118
↓ 1 callers
Function
encodeForSolidity
encodeForSolidity will take the arguments and pack them into a byte array that conforms to the solidity abi.encode function.
app/signature/cmd/verify/confirm/main.go:141
↓ 1 callers
Function
run
()
app/bank/proxy/cmd/deploy/bank/main.go:28
↓ 1 callers
Function
run
()
app/bank/proxy/cmd/deploy/api/main.go:32
↓ 1 callers
Function
run
()
app/bank/proxy/cmd/withdraw/main.go:32
↓ 1 callers
Function
run
()
app/bank/proxy/cmd/balance/main.go:33
↓ 1 callers
Function
run
()
app/bank/proxy/cmd/deposit/main.go:35
↓ 1 callers
Function
run
()
app/bank/proxy/cmd/reconcile/main.go:31
↓ 1 callers
Function
run
()
app/bank/single/cmd/deploy/main.go:29
↓ 1 callers
Function
run
()
app/basic/cmd/deploy/main.go:28
↓ 1 callers
Function
run
()
app/basic/cmd/write/main.go:30
↓ 1 callers
Function
run
()
app/basic/cmd/read/main.go:27
↓ 1 callers
Function
run
()
app/simplecoin/cmd/deploy/main.go:28
↓ 1 callers
Function
run
()
app/simplecoin/cmd/trancheck/main.go:28
↓ 1 callers
Function
run
()
app/simplecoin/cmd/transfer/main.go:29
↓ 1 callers
Function
run
()
app/signature/cmd/verify/confirm/main.go:31
↓ 1 callers
Function
run
()
app/signature/cmd/verify/deploy/main.go:28
↓ 1 callers
Function
smartContract
(ctx context.Context)
app/book/pkg/book/book_test.go:574
Method
API
API is a free data retrieval call binding the contract method 0x7d7b0099. Solidity: function API() view returns(address)
app/bank/proxy/contract/go/bank/bank.go:225
Method
API
API is a free data retrieval call binding the contract method 0x7d7b0099. Solidity: function API() view returns(address)
app/bank/proxy/contract/go/bank/bank.go:232
Method
API
API is a free data retrieval call binding the contract method 0x7d7b0099. Solidity: function API() view returns(address)
app/bank/proxy/contract/go/bankapi/bankapi.go:225
Method
API
API is a free data retrieval call binding the contract method 0x7d7b0099. Solidity: function API() view returns(address)
app/bank/proxy/contract/go/bankapi/bankapi.go:232
Method
AccountBalance
AccountBalance is a free data retrieval call binding the contract method 0xe63f341f. Solidity: function AccountBalance(address account) view returns(
app/book/contract/go/book/book.go:234
Method
AccountBalance
AccountBalance is a free data retrieval call binding the contract method 0xe63f341f. Solidity: function AccountBalance(address account) view returns(
app/book/contract/go/book/book.go:241
Method
AccountBalance
AccountBalance will return the balance for the specified account. Only the owner of the smart contract can make this call.
app/book/pkg/book/book.go:109
Method
AccountBalance
AccountBalance is a free data retrieval call binding the contract method 0xe63f341f. Solidity: function AccountBalance(address account) view returns(
app/bank/proxy/contract/go/bank/bank.go:256
Method
AccountBalance
AccountBalance is a free data retrieval call binding the contract method 0xe63f341f. Solidity: function AccountBalance(address account) view returns(
app/bank/proxy/contract/go/bank/bank.go:263
Method
AccountBalance
AccountBalance is a free data retrieval call binding the contract method 0xe63f341f. Solidity: function AccountBalance(address account) view returns(
app/bank/single/contract/go/bank/bank.go:225
Method
AccountBalance
AccountBalance is a free data retrieval call binding the contract method 0xe63f341f. Solidity: function AccountBalance(address account) view returns(
app/bank/single/contract/go/bank/bank.go:232
Method
Address
Address is a free data retrieval call binding the contract method 0xabbddf3b. Solidity: function Address(string id, address participant, uint256 nonc
app/signature/contract/go/verify/verify.go:225
Method
Address
Address is a free data retrieval call binding the contract method 0xabbddf3b. Solidity: function Address(string id, address participant, uint256 nonc
app/signature/contract/go/verify/verify.go:232
Method
Balance
Balance is a free data retrieval call binding the contract method 0x0ef67887. Solidity: function Balance() view returns(uint256)
app/book/contract/go/book/book.go:265
Method
Balance
Balance is a free data retrieval call binding the contract method 0x0ef67887. Solidity: function Balance() view returns(uint256)
app/book/contract/go/book/book.go:272
Method
Balance
Balance is a free data retrieval call binding the contract method 0x0ef67887. Solidity: function Balance() view returns(uint256)
app/bank/proxy/contract/go/bank/bank.go:287
Method
Balance
Balance is a free data retrieval call binding the contract method 0x0ef67887. Solidity: function Balance() view returns(uint256)
app/bank/proxy/contract/go/bank/bank.go:294
Method
Balance
Balance is a free data retrieval call binding the contract method 0x0ef67887. Solidity: function Balance() view returns(uint256)
app/bank/single/contract/go/bank/bank.go:256
Method
Balance
Balance is a free data retrieval call binding the contract method 0x0ef67887. Solidity: function Balance() view returns(uint256)
app/bank/single/contract/go/bank/bank.go:263
Method
BetDetails
BetDetails is a free data retrieval call binding the contract method 0x364529e5. Solidity: function BetDetails(string betID) view returns((uint8,addr
app/book/contract/go/book/book.go:296
Method
BetDetails
BetDetails is a free data retrieval call binding the contract method 0x364529e5. Solidity: function BetDetails(string betID) view returns((uint8,addr
app/book/contract/go/book/book.go:303
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
app/book/contract/go/book/book.go:199
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
app/bank/proxy/contract/go/bank/bank.go:190
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
app/bank/proxy/contract/go/bankapi/bankapi.go:190
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
app/bank/single/contract/go/bank/bank.go:190
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
app/basic/contract/go/basic/basic.go:190
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
app/simplecoin/contract/go/simplecoin/simplecoin.go:190
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
app/signature/contract/go/verify/verify.go:190
Method
CancelBetExpired
CancelBetExpired is a paid mutator transaction binding the contract method 0xf8856b88. Solidity: function CancelBetExpired(string betID) returns()
app/book/contract/go/book/book.go:372
Method
CancelBetExpired
CancelBetExpired is a paid mutator transaction binding the contract method 0xf8856b88. Solidity: function CancelBetExpired(string betID) returns()
app/book/contract/go/book/book.go:386
Method
CancelBetModerator
CancelBetModerator is a paid mutator transaction binding the contract method 0x7c64ce36. Solidity: function CancelBetModerator(string betID, uint256
app/book/contract/go/book/book.go:393
Method
CancelBetModerator
CancelBetModerator is a paid mutator transaction binding the contract method 0x7c64ce36. Solidity: function CancelBetModerator(string betID, uint256
app/book/contract/go/book/book.go:407
Method
CancelBetOwner
CancelBetOwner is a paid mutator transaction binding the contract method 0x0ee216b7. Solidity: function CancelBetOwner(string betID, uint256 amountFe
app/book/contract/go/book/book.go:414
Method
CancelBetOwner
CancelBetOwner is a paid mutator transaction binding the contract method 0x0ee216b7. Solidity: function CancelBetOwner(string betID, uint256 amountFe
app/book/contract/go/book/book.go:428
Method
CancelBetParticipants
CancelBetParticipants is a paid mutator transaction binding the contract method 0x221da6a5. Solidity: function CancelBetParticipants(string betID, ui
app/book/contract/go/book/book.go:435
Method
CancelBetParticipants
CancelBetParticipants is a paid mutator transaction binding the contract method 0x221da6a5. Solidity: function CancelBetParticipants(string betID, ui
app/book/contract/go/book/book.go:449
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
app/bank/proxy/contract/go/bankapi/bankapi.go:423
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
app/simplecoin/contract/go/simplecoin/simplecoin.go:423
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
app/simplecoin/contract/go/simplecoin/simplecoin.go:692
Method
CoinBalance
CoinBalance is a free data retrieval call binding the contract method 0x8bdf1534. Solidity: function CoinBalance(address ) view returns(uint256)
app/simplecoin/contract/go/simplecoin/simplecoin.go:225
Method
CoinBalance
CoinBalance is a free data retrieval call binding the contract method 0x8bdf1534. Solidity: function CoinBalance(address ) view returns(uint256)
app/simplecoin/contract/go/simplecoin/simplecoin.go:232
Method
ContractID
ContractID returns contract id in use.
app/book/pkg/book/book.go:74
Function
DeployBook
DeployBook deploys a new Ethereum contract, binding an instance of Book to it.
app/book/contract/go/book/book.go:56
Method
Deposit
Deposit is a paid mutator transaction binding the contract method 0xed21248c. Solidity: function Deposit() payable returns()
app/book/contract/go/book/book.go:456
Method
Deposit
Deposit is a paid mutator transaction binding the contract method 0xed21248c. Solidity: function Deposit() payable returns()
app/book/contract/go/book/book.go:470
Method
Deposit
Deposit is a paid mutator transaction binding the contract method 0xed21248c. Solidity: function Deposit() payable returns()
app/bank/proxy/contract/go/bank/bank.go:363
Method
Deposit
Deposit is a paid mutator transaction binding the contract method 0xed21248c. Solidity: function Deposit() payable returns()
app/bank/proxy/contract/go/bank/bank.go:377
Method
Deposit
Deposit is a paid mutator transaction binding the contract method 0xed21248c. Solidity: function Deposit() payable returns()
app/bank/proxy/contract/go/bankapi/bankapi.go:301
Method
Deposit
Deposit is a paid mutator transaction binding the contract method 0xed21248c. Solidity: function Deposit() payable returns()
app/bank/proxy/contract/go/bankapi/bankapi.go:315
Method
Deposit
Deposit is a paid mutator transaction binding the contract method 0xed21248c. Solidity: function Deposit() payable returns()
app/bank/single/contract/go/bank/bank.go:332
Method
Deposit
Deposit is a paid mutator transaction binding the contract method 0xed21248c. Solidity: function Deposit() payable returns()
app/bank/single/contract/go/bank/bank.go:346
Method
Drain
Drain is a paid mutator transaction binding the contract method 0xd67a073f. Solidity: function Drain() payable returns()
app/book/contract/go/book/book.go:477
Method
Drain
Drain is a paid mutator transaction binding the contract method 0xd67a073f. Solidity: function Drain() payable returns()
app/book/contract/go/book/book.go:491
Method
Drain
============================================================================= Owner Only Calls Drain will drain the full value of the smart contract a
app/book/pkg/book/book.go:88
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
app/book/contract/go/book/book.go:614
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
app/bank/proxy/contract/go/bank/bank.go:500
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
app/bank/proxy/contract/go/bankapi/bankapi.go:417
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
app/bank/single/contract/go/bank/bank.go:448
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
app/basic/contract/go/basic/basic.go:344
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
app/simplecoin/contract/go/simplecoin/simplecoin.go:417
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
app/simplecoin/contract/go/simplecoin/simplecoin.go:552
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
app/simplecoin/contract/go/simplecoin/simplecoin.go:686
Method
FilterEventFrozenAccount
FilterEventFrozenAccount is a free log retrieval operation binding the contract event 0x3ed8718a0f403576721b15da1095392a64cc33255a766b58bf4d5a0e116bcb
app/simplecoin/contract/go/simplecoin/simplecoin.go:438
Method
FilterEventLog
FilterEventLog is a free log retrieval operation binding the contract event 0xd3c51ea1865a5f43e30629abcc5e5f1f5a8a28d7cd45aface7cb4bb5c4a1a18a. Solid
app/book/contract/go/book/book.go:634
Method
FilterEventLog
FilterEventLog is a free log retrieval operation binding the contract event 0xd3c51ea1865a5f43e30629abcc5e5f1f5a8a28d7cd45aface7cb4bb5c4a1a18a. Solid
app/bank/proxy/contract/go/bank/bank.go:520
Method
FilterEventLog
FilterEventLog is a free log retrieval operation binding the contract event 0xd3c51ea1865a5f43e30629abcc5e5f1f5a8a28d7cd45aface7cb4bb5c4a1a18a. Solid
app/bank/proxy/contract/go/bankapi/bankapi.go:437
Method
FilterEventLog
FilterEventLog is a free log retrieval operation binding the contract event 0xd3c51ea1865a5f43e30629abcc5e5f1f5a8a28d7cd45aface7cb4bb5c4a1a18a. Solid
app/bank/single/contract/go/bank/bank.go:468
Method
FilterEventLog
FilterEventLog is a free log retrieval operation binding the contract event 0xd3c51ea1865a5f43e30629abcc5e5f1f5a8a28d7cd45aface7cb4bb5c4a1a18a. Solid
app/simplecoin/contract/go/simplecoin/simplecoin.go:572
Method
FilterEventTransfer
FilterEventTransfer is a free log retrieval operation binding the contract event 0x64af04e507117cfe690abc373ad27eb3c6a0b3202af0972ff3dc089e501e3a45.
app/simplecoin/contract/go/simplecoin/simplecoin.go:708
Method
FilterItemSet
FilterItemSet is a free log retrieval operation binding the contract event 0x814c96094cf9633fd519eab4539bc5f26a8ab7965b7243057596bafd3318e60f. Solidi
app/basic/contract/go/basic/basic.go:365
Method
FreezeAccount
FreezeAccount is a paid mutator transaction binding the contract method 0xd16a7a4b. Solidity: function FreezeAccount(address target, bool freeze) ret
app/simplecoin/contract/go/simplecoin/simplecoin.go:301
← previous
next →
101–200 of 346, ranked by callers