Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@acala-network/contracts

Package Overview
Dependencies
Maintainers
5
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acala-network/contracts - npm Package Compare versions

Comparing version 4.3.7 to 4.3.8

typechain/contracts/utils/AcalaAddress.sol/index.ts

2

docs/oracle/IOracle.md

@@ -33,3 +33,3 @@ # IOracle

|---|---|---|
| _0 | uint256 | Returns the (price, timestamp). |
| _0 | uint256 | Returns the price. |

@@ -36,0 +36,0 @@

@@ -33,3 +33,3 @@ # Oracle

|---|---|---|
| _0 | uint256 | Returns the (price, timestamp). |
| _0 | uint256 | Returns the price. |

@@ -36,0 +36,0 @@

{
"name": "@acala-network/contracts",
"version": "4.3.7",
"version": "4.3.8",
"description": "AcalaNetwork Smart Contract library for Solidity",

@@ -32,2 +32,2 @@ "files": [

"homepage": "https://github.com/AcalaNetwork/predeploy-contracts"
}
}

@@ -26,3 +26,5 @@ /* Autogenerated file. Do not edit manually. */

export type { token };
import type * as utils from "./utils";
export type { utils };
import type * as xtokens from "./xtokens";
export type { xtokens };

@@ -15,2 +15,3 @@ /* Autogenerated file. Do not edit manually. */

export * as token from "./token";
export * as utils from "./utils";
export * as xtokens from "./xtokens";

@@ -32,3 +32,3 @@ /* Autogenerated file. Do not edit manually. */

const _bytecode =
"0x608060405234801561001057600080fd5b506102ad806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806341976e0914610030575b600080fd5b61004361003e3660046101f2565b610055565b60405190815260200160405180910390f35b600073ffffffffffffffffffffffffffffffffffffffff82166100d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4f7261636c653a20746f6b656e206973207a65726f2061646472657373000000604482015260640160405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152600090819061040390604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f41976e090000000000000000000000000000000000000000000000000000000017905251610184919061022f565b600060405180830381855afa9150503d80600081146101bf576040519150601f19603f3d011682016040523d82523d6000602084013e6101c4565b606091505b509092509050816101d6573d60208201fd5b808060200190518101906101ea919061025e565b949350505050565b60006020828403121561020457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461022857600080fd5b9392505050565b6000825160005b818110156102505760208186018101518583015201610236565b506000920191825250919050565b60006020828403121561027057600080fd5b505191905056fea26469706673582212208231147738050c14792033cf98500ac3e705efbf1498836066ffb0b5e8369a7064736f6c63430008120033";
"0x608060405234801561001057600080fd5b506102ad806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806341976e0914610030575b600080fd5b61004361003e3660046101f2565b610055565b60405190815260200160405180910390f35b600073ffffffffffffffffffffffffffffffffffffffff82166100d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4f7261636c653a20746f6b656e206973207a65726f2061646472657373000000604482015260640160405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152600090819061040390604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f41976e090000000000000000000000000000000000000000000000000000000017905251610184919061022f565b600060405180830381855afa9150503d80600081146101bf576040519150601f19603f3d011682016040523d82523d6000602084013e6101c4565b606091505b509092509050816101d6573d60208201fd5b808060200190518101906101ea919061025e565b949350505050565b60006020828403121561020457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461022857600080fd5b9392505050565b6000825160005b818110156102505760208186018101518583015201610236565b506000920191825250919050565b60006020828403121561027057600080fd5b505191905056fea264697066735822122086022ad9f675a2c3023c4b7ff6214b21678b04f0a6bc8547308db1ae60b6049064736f6c63430008120033";

@@ -35,0 +35,0 @@ type OracleConstructorParams =

@@ -283,3 +283,3 @@ /* Autogenerated file. Do not edit manually. */

const _bytecode =
"0x608060405234801561001057600080fd5b50610fff806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610180578063a9059cbb14610193578063dd62ed3e146101a657600080fd5b8063395093511461015257806370a082311461016557806395d89b411461017857600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610125578063313ce5671461013857600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101ea565b6040516100e39190610d08565b60405180910390f35b6100ff6100fa366004610d82565b6101f9565b60405190151581526020016100e3565b610117610213565b6040519081526020016100e3565b6100ff610133366004610dac565b61021d565b610140610241565b60405160ff90911681526020016100e3565b6100ff610160366004610d82565b61024b565b610117610173366004610de8565b610295565b6100d66102a0565b6100ff61018e366004610d82565b6102aa565b6100ff6101a1366004610d82565b61037e565b6101176101b4366004610e0a565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606101f461038c565b905090565b600033610207818585610467565b60019150505b92915050565b60006101f4610619565b60003361022b8582856106ec565b6102368585856107c1565b506001949350505050565b60006101f4610971565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102079082908690610290908790610e3d565b610467565b600061020d82610a44565b60606101f4610b60565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102368286868403610467565b6000336102078185856107c1565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b600060405180830381855afa9150503d8060008114610435576040519150601f19603f3d011682016040523d82523d6000602084013e61043a565b606091505b5090925090508161044c573d60208201fd5b808060200190518101906104609190610ec2565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff8316610509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff82166105ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd00000000000000000000000000000000000000000000000000000000179052905160009182918291610400916106869190610e77565b600060405180830381855afa9150503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b509092509050816106d8573d60208201fd5b808060200190518101906104609190610f8d565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107bb57818110156107ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610368565b6107bb8484848403610467565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8216610907576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610368565b610912838383610bce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060c91815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce56700000000000000000000000000000000000000000000000000000000179052905160009182918291610400916109de9190610e77565b600060405180830381855afa9150503d8060008114610a19576040519150601f19603f3d011682016040523d82523d6000602084013e610a1e565b606091505b50909250905081610a30573d60208201fd5b808060200190518101906104609190610fa6565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610af29190610e77565b600060405180830381855afa9150503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b50909250905081610b44573d60208201fd5b80806020019051810190610b589190610f8d565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610c899190610e77565b6000604051808303816000865af19150503d8060008114610cc6576040519150601f19603f3d011682016040523d82523d6000602084013e610ccb565b606091505b50909250905081610cdd573d60208201fd5b5050505050565b60005b83811015610cff578181015183820152602001610ce7565b50506000910152565b6020815260008251806020840152610d27816040850160208701610ce4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d7d57600080fd5b919050565b60008060408385031215610d9557600080fd5b610d9e83610d59565b946020939093013593505050565b600080600060608486031215610dc157600080fd5b610dca84610d59565b9250610dd860208501610d59565b9150604084013590509250925092565b600060208284031215610dfa57600080fd5b610e0382610d59565b9392505050565b60008060408385031215610e1d57600080fd5b610e2683610d59565b9150610e3460208401610d59565b90509250929050565b8082018082111561020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008251610e89818460208701610ce4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ed457600080fd5b815167ffffffffffffffff80821115610eec57600080fd5b818401915084601f830112610f0057600080fd5b815181811115610f1257610f12610e93565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610f5857610f58610e93565b81604052828152876020848701011115610f7157600080fd5b610f82836020830160208801610ce4565b979650505050505050565b600060208284031215610f9f57600080fd5b5051919050565b600060208284031215610fb857600080fd5b815160ff81168114610e0357600080fdfea2646970667358221220ad86c3188715bbd74104dbd49d2c4219d67cf236f6fcc5ab93ba18972c90430564736f6c63430008120033";
"0x608060405234801561001057600080fd5b50610fff806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610180578063a9059cbb14610193578063dd62ed3e146101a657600080fd5b8063395093511461015257806370a082311461016557806395d89b411461017857600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610125578063313ce5671461013857600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101ea565b6040516100e39190610d08565b60405180910390f35b6100ff6100fa366004610d82565b6101f9565b60405190151581526020016100e3565b610117610213565b6040519081526020016100e3565b6100ff610133366004610dac565b61021d565b610140610241565b60405160ff90911681526020016100e3565b6100ff610160366004610d82565b61024b565b610117610173366004610de8565b610295565b6100d66102a0565b6100ff61018e366004610d82565b6102aa565b6100ff6101a1366004610d82565b61037e565b6101176101b4366004610e0a565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606101f461038c565b905090565b600033610207818585610467565b60019150505b92915050565b60006101f4610619565b60003361022b8582856106ec565b6102368585856107c1565b506001949350505050565b60006101f4610971565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102079082908690610290908790610e3d565b610467565b600061020d82610a44565b60606101f4610b60565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102368286868403610467565b6000336102078185856107c1565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b600060405180830381855afa9150503d8060008114610435576040519150601f19603f3d011682016040523d82523d6000602084013e61043a565b606091505b5090925090508161044c573d60208201fd5b808060200190518101906104609190610ec2565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff8316610509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff82166105ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd00000000000000000000000000000000000000000000000000000000179052905160009182918291610400916106869190610e77565b600060405180830381855afa9150503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b509092509050816106d8573d60208201fd5b808060200190518101906104609190610f8d565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107bb57818110156107ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610368565b6107bb8484848403610467565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8216610907576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610368565b610912838383610bce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060c91815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce56700000000000000000000000000000000000000000000000000000000179052905160009182918291610400916109de9190610e77565b600060405180830381855afa9150503d8060008114610a19576040519150601f19603f3d011682016040523d82523d6000602084013e610a1e565b606091505b50909250905081610a30573d60208201fd5b808060200190518101906104609190610fa6565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610af29190610e77565b600060405180830381855afa9150503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b50909250905081610b44573d60208201fd5b80806020019051810190610b589190610f8d565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610c899190610e77565b6000604051808303816000865af19150503d8060008114610cc6576040519150601f19603f3d011682016040523d82523d6000602084013e610ccb565b606091505b50909250905081610cdd573d60208201fd5b5050505050565b60005b83811015610cff578181015183820152602001610ce7565b50506000910152565b6020815260008251806020840152610d27816040850160208701610ce4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d7d57600080fd5b919050565b60008060408385031215610d9557600080fd5b610d9e83610d59565b946020939093013593505050565b600080600060608486031215610dc157600080fd5b610dca84610d59565b9250610dd860208501610d59565b9150604084013590509250925092565b600060208284031215610dfa57600080fd5b610e0382610d59565b9392505050565b60008060408385031215610e1d57600080fd5b610e2683610d59565b9150610e3460208401610d59565b90509250929050565b8082018082111561020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008251610e89818460208701610ce4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ed457600080fd5b815167ffffffffffffffff80821115610eec57600080fd5b818401915084601f830112610f0057600080fd5b815181811115610f1257610f12610e93565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610f5857610f58610e93565b81604052828152876020848701011115610f7157600080fd5b610f82836020830160208801610ce4565b979650505050505050565b600060208284031215610f9f57600080fd5b5051919050565b600060208284031215610fb857600080fd5b815160ff81168114610e0357600080fdfea2646970667358221220c7f7b10f6a56ea903788aba11d8f9aaa31df2429f5df4fbe3874b4faecbef54b64736f6c63430008120033";

@@ -286,0 +286,0 @@ type TokenConstructorParams =

@@ -100,2 +100,14 @@ /* Autogenerated file. Do not edit manually. */

getContractFactory(
name: "ADDRESS",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ADDRESS__factory>;
getContractFactory(
name: "ADDRESS",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ADDRESS__factory>;
getContractFactory(
name: "ADDRESS",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ADDRESS__factory>;
getContractFactory(
name: "IXtokens",

@@ -215,2 +227,17 @@ signerOrOptions?: ethers.Signer | FactoryOptions

getContractAt(
name: "ADDRESS",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ADDRESS>;
getContractAt(
name: "ADDRESS",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ADDRESS>;
getContractAt(
name: "ADDRESS",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ADDRESS>;
getContractAt(
name: "IXtokens",

@@ -217,0 +244,0 @@ address: string,

@@ -51,2 +51,4 @@ /* Autogenerated file. Do not edit manually. */

export { Token__factory } from "./factories/contracts/token/Token__factory";
export type { ADDRESS } from "./contracts/utils/AcalaAddress.sol/ADDRESS";
export { ADDRESS__factory } from "./factories/contracts/utils/AcalaAddress.sol/ADDRESS__factory";
export type { IXtokens } from "./contracts/xtokens/IXtokens";

@@ -53,0 +55,0 @@ export { IXtokens__factory } from "./factories/contracts/xtokens/IXtokens__factory";

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc