This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract Bridge { | |
// message sent to other chains | |
// srcChain is implicit (this chain), destChain is map key | |
struct SendMsg { | |
address srcAddr; | |
address destAddr; | |
uint256 value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract Bridge { | |
// message sent to other chains | |
// srcChain is implicit (this chain), destChain is map key | |
struct SendMsg { | |
address srcAddr; | |
address destAddr; | |
uint256 value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract Bridge { | |
// message sent to other chains | |
// srcChain is implicit (this chain), destChain is map key | |
struct SendMsg { | |
address srcAddr; | |
address destAddr; | |
uint256 value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract Bridge { | |
// message sent to other chains | |
// srcChain is implicit (this chain), destChain is map key | |
struct SendMsg { | |
address srcAddr; | |
address destAddr; | |
uint256 value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract Bridge { | |
struct TransferMsg { | |
address srcAddr; | |
address destAddr; | |
uint256 destChain; | |
uint256 value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract Bridge { | |
struct TransferMsg { | |
address srcAddr; | |
address destAddr; | |
uint256 destChain; | |
uint256 value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract Bridge { | |
struct TransferMsg { | |
address srcAddr; | |
address destAddr; | |
string destChain; | |
uint256 value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.25; | |
contract Bridge { | |
struct TransferMsg { | |
address srcAddr; | |
string srcChain; | |
address destAddr; | |
string destChain; | |
uint256 value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.11; | |
contract G2Token { | |
string public name = "Dual Genesis"; // token name | |
string public symbol = "G2"; // token symbol | |
uint256 public decimals = 6; // token digit | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.11; | |
contract G2Token { | |
string public name = "Dual Genesis"; // token name | |
string public symbol = "G2"; // token symbol | |
uint256 public decimals = 6; // token digit | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; |
NewerOlder