65cb6e9092
* Updated loading config from /Users/konstantinzolotarev/.vulcanizedb for addreses * Updated contract addresses loading from env variables. * Implement getter chain for addresses, configs and transformers Solves the issue with declaring stuff as vars when the environment file hasn't been loaded yet. Instead, this data is fetched dynamically when the root commands are called. * Update test data to use constant Kovan addresses * Decouple integration tests from config file IO * Add ABI to environment file, convert getter chains for related values * Decouple tests suites from ABI config file IO * Add startingBlock to environment and implement getter chain * Exit when called without config file * Add missing deployment blocks to staging.toml * Remove comment
32 lines
2.6 KiB
Go
32 lines
2.6 KiB
Go
package constants
|
|
|
|
//TODO: get cat, pit, and drip file method signatures directly from the ABI
|
|
func biteMethod() string { return GetSolidityMethodSignature(CatABI(), "Bite") }
|
|
func catFileChopLumpMethod() string { return "file(bytes32,bytes32,uint256)" }
|
|
func catFileFlipMethod() string { return GetSolidityMethodSignature(CatABI(), "file") }
|
|
func catFilePitVowMethod() string { return "file(bytes32,address)" }
|
|
func dealMethod() string { return GetSolidityMethodSignature(FlipperABI(), "deal") }
|
|
func dentMethod() string { return GetSolidityMethodSignature(FlipperABI(), "dent") }
|
|
func dripDripMethod() string { return GetSolidityMethodSignature(DripABI(), "drip") }
|
|
func dripFileIlkMethod() string { return "file(bytes32,bytes32,uint256)" }
|
|
func dripFileRepoMethod() string { return GetSolidityMethodSignature(DripABI(), "file") }
|
|
func dripFileVowMethod() string { return "file(bytes32,bytes32)" }
|
|
func flapKickMethod() string { return GetSolidityMethodSignature(FlapperABI(), "Kick") }
|
|
func flipKickMethod() string { return GetSolidityMethodSignature(FlipperABI(), "Kick") }
|
|
func flopKickMethod() string { return GetSolidityMethodSignature(FlopperABI(), "Kick") }
|
|
func frobMethod() string { return GetSolidityMethodSignature(PitABI(), "Frob") }
|
|
func logValueMethod() string { return GetSolidityMethodSignature(MedianizerABI(), "LogValue") }
|
|
func pitFileDebtCeilingMethod() string { return "file(bytes32,uint256)" }
|
|
func pitFileIlkMethod() string { return "file(bytes32,bytes32,uint256)" }
|
|
func tendMethod() string { return GetSolidityMethodSignature(FlipperABI(), "tend") }
|
|
func vatFluxMethod() string { return GetSolidityMethodSignature(VatABI(), "flux") }
|
|
func vatFoldMethod() string { return GetSolidityMethodSignature(VatABI(), "fold") }
|
|
func vatGrabMethod() string { return GetSolidityMethodSignature(VatABI(), "grab") }
|
|
func vatHealMethod() string { return GetSolidityMethodSignature(VatABI(), "heal") }
|
|
func vatInitMethod() string { return GetSolidityMethodSignature(VatABI(), "init") }
|
|
func vatMoveMethod() string { return GetSolidityMethodSignature(VatABI(), "move") }
|
|
func vatSlipMethod() string { return GetSolidityMethodSignature(VatABI(), "slip") }
|
|
func vatTollMethod() string { return GetSolidityMethodSignature(VatABI(), "toll") }
|
|
func vatTuneMethod() string { return GetSolidityMethodSignature(VatABI(), "tune") }
|
|
func vowFlogMethod() string { return GetSolidityMethodSignature(VowABI(), "flog") }
|